package com.wgts.wgts.mvp.model.imp;

import com.wgts.wgts.mvp.model.IMyExtensionFansOrderFragmentModel;
import com.wgts.wgts.netmodle.HttpResultSubscriber;
import com.wgts.wgts.netmodle.NetAPI;
import com.wgts.wgts.netmodle.NetService;
import com.wgts.wgts.netmodle.req.ShopKeepFansOrderReq;
import com.wgts.wgts.netmodle.resp.OperatingDataEntity;
import com.wgts.wgts.netmodle.resp.ShopKeepFansOrderSum;

public class MyExtensionFansOrderFragmentModel implements IMyExtensionFansOrderFragmentModel {

    private NetService netService;

    public MyExtensionFansOrderFragmentModel(NetService netService) {
        this.netService = netService;
    }


    @Override
    public void shopKeepFansOrderSum(String userId, HttpResultSubscriber<ShopKeepFansOrderSum> subscriber) {
        netService.shopKeepFansOrderSum(userId, subscriber);
    }

    @Override
    public void shopKeepFansOrderList(ShopKeepFansOrderReq req, HttpResultSubscriber<OperatingDataEntity> subscriber) {
        netService.shopKeepFansOrderList(req, subscriber);
    }
}
